{{#if isMobile}}
<div id="userCsInfoContainer" class="mainContent">
  <div class="wrapperInner cs-infoBd">
<center class="movSpacer cs-info-buttom">
  <div class="movSpacer  ">
<!-- <span  class="pull-right" {{action 'popQrModal' }}>&nbsp;<i class="fa-qrcode"></i>&nbsp;&nbsp;</span> -->

    <div class="  movSmovS movS" style=" height:90px !important">
      {{#ui/img-intergration name="headImg"
      hasUploader=true
      imgSrc=model.curUser.avatarUrl height=90 width=90
      uploadUrl=uploadUrl
      uploadSucc="uploadSucc"
      uploadFail="uploadFailImg"
      businessType=constants.uploadBusinessType_headimg
    }}
    {{/ui/img-intergration}}
  </div>
  {{model.curUser.name}}


</div>
</center>
{{#ui/mobile/gestures-container}}
<ul class=" profile "  >
  <li {{action 'transformMine' 'business-mine' on="tap"}}>
    <a  href="javascript:void(0)">
      <i class="fa-user">&nbsp;&nbsp;</i><span>我的资料 </span>
      <i class="pull-right el-right-open"></i>
    </a>
  </li>
  <li {{action 'ChangePassword'}}>
    <a  href="javascript:void(0)">
      <i class="fa-lock">&nbsp;&nbsp;</i><span>修改密码 </span>
      <i class="pull-right el-right-open"></i>
    </a>
  </li>
<br>
  <li {{action 'ChangePassword' }}>
    <a  href="javascript:void(0)">
      <i class="fa-user">&nbsp;&nbsp;</i><span>所属护理组 </span>
      <i class="pull-right el-right-open"></i>
    </a>
  </li>
  <li class='profile_li' {{action 'setUP' 'myinfo-setup'}}>
    <a  href="javascript:void(0)">
      <i class=" fa-cog">&nbsp;&nbsp;</i><span>完成的任务 </span>
      <i class="pull-right el-right-open"></i>
    </a>
</li>
</ul>
{{/ui/mobile/gestures-container}}
</div>
</div>
{{ui/container/infinite-scroll moniteData="userCsInfo" didUpdateAction="didUpdate" didInsertElementAction="didInsertElement"}}
{{/if}}

{{#if showPopPasschangeModal}}
{{#bs-modal body=false footer=false header=false}}
{{#bs-modal-header}}
<h4 class="modal-title">修改密码</h4>
{{/bs-modal-header}}
{{#bs-modal-body}}
<div class="line-height">
  旧密码
</div>
<div class="">
    {{input type="password" class="form-control" id="password" value=password   placeholder="请输入旧密码"}}
</div>
<div class="line-height">
   密码
</div>
<div class="">
  {{input type="password" class="form-control" id="newPass" value=newPass   placeholder="请输入6位以上字符"}}
</div>
<div class="line-height">
  确认原密码
</div>
<div class="">
  {{input type="password" class="form-control" id="confirmPass" value=confirmPass placeholder="请再次输入新密码"}}
</div>
{{/bs-modal-body}}
{{#bs-modal-footer as |footer|}}
<span class={{if fail1 'f' 't  pull-left' }}>{{responseInfo}}</span>
{{#bs-button action=(action "cancelPassSubmit" ) type="default"}}取消{{/bs-button}}
{{#bs-button action=(action "sureChangePassword" ) type="default"}}确定{{/bs-button}}
{{/bs-modal-footer}}
{{/bs-modal}}
{{/if}}

{{#if showPopQrModal}}
{{#callbusi/mobile/pr-code-mobile body=false  footer=false header=false user=global_curStatus.curStatus.currentUser
  closedAction=(action "closeQrModal")}}
  <div class="qrcode"  {{action 'hidden'}}>
  </div>
  <center>
    <div id="popModal_qrco">
    </div>
  </center>
{{/callbusi/mobile/pr-code-mobile}}
{{/if}}

{{#if showAddContents}}
{{#bs-modal body=false footer=false header=false submitAction=(action "changePassSubmit")
closedAction=(action "cancelPassSubmit")}}
{{#bs-modal-header}}
{{/bs-modal-header}}
{{#bs-modal-body}}
{{succeed}}！
{{/bs-modal-body}}
{{#bs-modal-footer as |footer|}}
{{#bs-button action=(action "cancelPassSubmit" ) type="default"}}取消{{/bs-button}}
{{#bs-button action=(action "changePassSubmit" ) type="default"}}确定{{/bs-button}}
{{/bs-modal-footer}}
{{/bs-modal}}
{{/if}}
